<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8" >
    <meta http-equiv="X-UA-Compatible" content="IE=11,IE=10,IE=9,IE=8" >
    <meta name="baidu-site-verification" content="dIcXMeY8Ya" />
    
    <title>SOME USEFUL GIT COMMANDS | 即将拥有人鱼线丶</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" >
    <meta name="keywords" content="FutaoSmile, 前端, Web, 付韬, 个人博客" >
    <meta name="description" content="付韬FutaoSmile" >

    
    <link rel="alternative" href="/atom.xml" title="即将拥有人鱼线丶" type="application/atom+xml" >
    
    
    <link rel="shortcut icon" href="/coder957/coder957/favicon.ico" >
    
    <link rel="stylesheet" href="/coder957/css/style.css">
    <!--[if lt IE 9]>
    <script src="/coder957/js/html5.js"></script>
    <![endif]-->
    
<script>
    var _hmt = _hmt || [];
    (function() {
        var hm = document.createElement("script");
        hm.src = "//hm.baidu.com/hm.js?fd459238242776d173cdc64918fb32f2";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>


</head>

<body class="home">
    <!--[if lt IE 9]>
    <div class="browsehappy">
        当前网页 <strong>不支持</strong>
        你正在使用的浏览器. 为了正常的访问, 请 <a href="http://browsehappy.com/">升级你的浏览器</a>.
    </div>
    <![endif]-->

    <!-- 博客头部 -->
    <header class="header">
    <section class="container header-main">
        <div class="logo">
            <a href="/coder957/">
                <div class="cover">
                    <span class="name">即将拥有人鱼线丶</span>
                    <span class="description">FutaoSmile</span>
                </div>
            </a>
        </div>
        <div class="dropnav icon-paragraph-justify" id="JELON__btnDropNav"></div>
        <ul class="menu hidden" id="JELON__menu">
            
                <li rel="/coder957/2017/10/20/SOME-USEFUL-GIT-COMMANDS/index.html" class="item ">
                    <a href="/coder957/" title="首页" class="icon-home">&nbsp;首页</a>
                </li>
                
                <li rel="/coder957/2017/10/20/SOME-USEFUL-GIT-COMMANDS/index.html" class="item ">
                    <a href="/coder957/lab/" title="实验室" class="icon-lab">&nbsp;实验室</a>
                </li>
                
                <li rel="/coder957/2017/10/20/SOME-USEFUL-GIT-COMMANDS/index.html" class="item ">
                    <a href="/coder957/about/" title="关于" class="icon-about">&nbsp;关于</a>
                </li>
                
                <li rel="/coder957/2017/10/20/SOME-USEFUL-GIT-COMMANDS/index.html" class="item ">
                    <a href="/coder957/comment/" title="留言" class="icon-comment">&nbsp;留言</a>
                </li>
                
        </ul>
        <div class="profile clearfix">
            <div class="feeds fl">
                
                    
                        <p class="links">
                            
                                <a href="https://github.com/FutaoSmile" target="_blank">
                                    Github
                                </a>
                                |
                                    
                                        
                                <a href="http://www.jianshu.com/u/9e2e579df7dd" target="_blank">
                                    简书
                                </a>
                                
                                        
                        </p>
                        <p class="sns">
                            
                                <a href="http://weibo.com/u/2379076265?refer_flag=1001030001_&amp;nick=FutaoSmile%E4%B8%B6" class="sinaweibo" target="_blank"><b>■</b> 新浪微博</a>
                                
                                <a href="https://gitee.com/FutaoSmile" class="qqweibo" target="_blank"><b>■</b> 码云</a>
                                
                                    <!-- <a href="javascript: void(0);" class="wechat">
                        <b>■</b>
                        公众号
                        <span class="popover">
                            <img src="/coder957/img/wechat_mp.jpg" width="120" height="120" alt="我的微信订阅号">
                            <i class="arrow"></i>
                        </span>
                    </a> -->
                        </p>
                        
            </div>
            <div class="avatar fr">
                <img src="/coder957/img/head.png" alt="avatar" title="Jelon">
            </div>
        </div>
    </section>
</header>

    <!-- 博客正文 -->
    <div class="container body clearfix">
        <section class="content">
            <div class="content-main widget">
                <!-- 文章页 -->
<!-- 文章 -->
<article class="post article">
    <header class="text-center">
        <h3 class="post-title"><span>SOME USEFUL GIT COMMANDS</span></h3>
    </header>
    <p class="post-meta text-center">
        FutaoSmile丶 发表于
            <time datetime="2017-10-20T12:05:34.223Z">2017-10-20</time>
    </p>
    <div class="post-content">
        <p><em>SOME USEFUL GIT COMMANDS</em></p>
<a id="more"></a>
<h2 id="Configuring-your-Git"><a href="#Configuring-your-Git" class="headerlink" title="Configuring your Git"></a>Configuring your Git</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div></pre></td><td class="code"><pre><div class="line">// Disable autocrlf to avoid warnings in command line</div><div class="line">git config --global core.autocrlf false</div></pre></td></tr></table></figure>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div></pre></td><td class="code"><pre><div class="line">// Set username and email (global)</div><div class="line">git config --global user.name “My user name” </div><div class="line">git config --global user.email “my-email@awesome.com” </div><div class="line"></div><div class="line">// Display configuration</div><div class="line">git config -l </div><div class="line"></div><div class="line">// Get some help :)</div><div class="line">git contig -h</div></pre></td></tr></table></figure>
<h2 id="Managing-Git-repositories"><a href="#Managing-Git-repositories" class="headerlink" title="Managing Git repositories"></a>Managing Git repositories</h2><h4 id="Initializing-a-repo"><a href="#Initializing-a-repo" class="headerlink" title="Initializing a repo"></a>Initializing a repo</h4><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">git init</div></pre></td></tr></table></figure>
<h4 id="Adding-files-for-tracking-or-to-the-staging-area"><a href="#Adding-files-for-tracking-or-to-the-staging-area" class="headerlink" title="Adding files for tracking or to the staging area"></a>Adding files for tracking or to the staging area</h4><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div></pre></td><td class="code"><pre><div class="line">// Add all .txt files</div><div class="line">git add *.txt</div><div class="line"></div><div class="line">// Add all in the current directory</div><div class="line">git add .</div><div class="line"></div><div class="line">// Add a single file</div><div class="line">git add README.md</div></pre></td></tr></table></figure>
<h4 id="Resetting-your-files-in-the-staging-area-to-the-working-directory"><a href="#Resetting-your-files-in-the-staging-area-to-the-working-directory" class="headerlink" title="Resetting your files in the staging area to the working directory"></a>Resetting your files in the staging area to the working directory</h4><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div></pre></td><td class="code"><pre><div class="line">git reset HEAD &lt;file&gt;</div><div class="line">git reset HEAD -- &lt;path/to/file&gt;</div><div class="line"></div><div class="line">// Examples</div><div class="line">git reset HEAD index.html</div><div class="line">git reset HEAD .</div></pre></td></tr></table></figure>
<h4 id="Doing-your-changes-persistent-in-the-local-repository"><a href="#Doing-your-changes-persistent-in-the-local-repository" class="headerlink" title="Doing your changes persistent in the local repository"></a>Doing your changes persistent in the local repository</h4><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div></pre></td><td class="code"><pre><div class="line">// Do a commit with all files in staging area</div><div class="line">git commit -m &quot;My custom message for this commit&quot;</div></pre></td></tr></table></figure>
<h4 id="Watching-previos-version-of-files"><a href="#Watching-previos-version-of-files" class="headerlink" title="Watching previos version of files"></a>Watching previos version of files</h4><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div></pre></td><td class="code"><pre><div class="line">// Watch a version of a very specific file (using the commit ID)</div><div class="line">git checkout YOUR_COMMIT_ID -- path/my_file.js</div><div class="line"></div><div class="line">// Return to the version of that file in HEAD</div><div class="line">git checkout HEAD -- path/my_file.js</div></pre></td></tr></table></figure>
<h4 id="Watching-logs"><a href="#Watching-logs" class="headerlink" title="Watching logs"></a>Watching logs</h4><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div><div class="line">11</div></pre></td><td class="code"><pre><div class="line">// Watch the log (details)</div><div class="line">git log </div><div class="line"></div><div class="line">// Watch the log in one line per commit</div><div class="line">git log --oneline </div><div class="line"></div><div class="line">// See two last commits</div><div class="line">git log --oneline -2</div><div class="line"></div><div class="line">// Show diff between files</div><div class="line">git show</div></pre></td></tr></table></figure>
<h4 id="Merging-a-branch-my-branch-into-other-master"><a href="#Merging-a-branch-my-branch-into-other-master" class="headerlink" title="Merging a branch (my-branch) into other (master)"></a>Merging a branch (my-branch) into other (master)</h4><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div></pre></td><td class="code"><pre><div class="line">// Where do you want to merge?</div><div class="line">git checkout master</div><div class="line"></div><div class="line">// Which branch do you want to merge?</div><div class="line">git merge my-branch</div></pre></td></tr></table></figure>
<h2 id="Restoring-files"><a href="#Restoring-files" class="headerlink" title="Restoring files"></a>Restoring files</h2><h4 id="See-the-stored-version-of-an-specific-file-in-a-commit"><a href="#See-the-stored-version-of-an-specific-file-in-a-commit" class="headerlink" title="See the stored version of an specific file in a commit"></a>See the stored version of an specific file in a commit</h4><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div></pre></td><td class="code"><pre><div class="line">git checkout COMMIT_ID &quot;path/to/the/file&quot;</div><div class="line"></div><div class="line">// Example</div><div class="line">git checkout 6881326  &quot;widgets/Awesome Widget/MyAwesomeWidget.dust.tpl.htm&quot;</div></pre></td></tr></table></figure>
<h2 id="Working-with-branches"><a href="#Working-with-branches" class="headerlink" title="Working with branches"></a>Working with branches</h2><h4 id="Creating-deleting-and-switching-to-a-branch"><a href="#Creating-deleting-and-switching-to-a-branch" class="headerlink" title="Creating, deleting and switching to a branch"></a>Creating, deleting and switching to a branch</h4><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div><div class="line">11</div><div class="line">12</div><div class="line">13</div><div class="line">14</div></pre></td><td class="code"><pre><div class="line">// Get a list of branches in the repository</div><div class="line">git branch</div><div class="line"></div><div class="line">// Create a new branch</div><div class="line">git branch my-branch</div><div class="line"></div><div class="line">// Switch to a branch</div><div class="line">git checkout my-branch</div><div class="line"></div><div class="line">// A shorthand for two previous commands (create and switch)</div><div class="line">git checkout -b other-branch </div><div class="line"></div><div class="line">// Delete a branch</div><div class="line">git branch -d my-branch</div></pre></td></tr></table></figure>
<h2 id="Working-with-submodules"><a href="#Working-with-submodules" class="headerlink" title="Working with submodules"></a>Working with submodules</h2><h4 id="A-very-nice-feature-available-on-git-is-the-possibility-of-using-modules-for-example-when-you-clone-CakePHP-repository-you-could-get-DebugKit-as-a-submodule-if-you-want-to-clone-the-main-repository-submodules-use-following-command"><a href="#A-very-nice-feature-available-on-git-is-the-possibility-of-using-modules-for-example-when-you-clone-CakePHP-repository-you-could-get-DebugKit-as-a-submodule-if-you-want-to-clone-the-main-repository-submodules-use-following-command" class="headerlink" title="A very nice feature available on git is the possibility of using modules, for example when you clone CakePHP repository you could get DebugKit as a submodule, if you want to clone the main repository + submodules, use following command:"></a>A very nice feature available on git is the possibility of using modules, for example when you clone CakePHP repository you could get DebugKit as a submodule, if you want to clone the main repository + submodules, use following command:</h4><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">git clone --recursive https://github.com/alex-arriaga/universidad-del-pastel.git</div></pre></td></tr></table></figure>
<h4 id="Adding-a-new-submodule"><a href="#Adding-a-new-submodule" class="headerlink" title="Adding a new submodule"></a>Adding a new submodule</h4><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div></pre></td><td class="code"><pre><div class="line">git submodule add &lt;GIT_REPO_URL&gt; &lt;SUBMODULE_NAME&gt;</div><div class="line"> </div><div class="line">// Example</div><div class="line">git submodule add https://github.com/twbs/bootstrap.git bootstrap</div></pre></td></tr></table></figure>
<h4 id="If-someone-else-added-a-new-submodule-and-you-want-to-get-submodules-you-will-need-to-use-the-update-operation-to-obtain-the-module-recently-added"><a href="#If-someone-else-added-a-new-submodule-and-you-want-to-get-submodules-you-will-need-to-use-the-update-operation-to-obtain-the-module-recently-added" class="headerlink" title="If someone else added a new submodule, and you want to get submodules, you will need to use the update operation to obtain the module recently added:"></a>If someone else added a new submodule, and you want to get submodules, you will need to use the update operation to obtain the module recently added:</h4><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">git submodule update --init --recursive</div></pre></td></tr></table></figure>
<h4 id="Changing-a-submodule-for-another-one"><a href="#Changing-a-submodule-for-another-one" class="headerlink" title="Changing a submodule for another one"></a>Changing a submodule for another one</h4><ol>
<li>Update .gitmodules with the path to the new repository</li>
<li>Remove the corresponding line from the “.git/config” file</li>
<li>Delete the corresponding directory in the “.git/modules/modules/YOUR_OLD_SUBMODULE” directory (rm -rf)</li>
<li>Delete the checked out submodule directory itself (unsure if this is necessary)</li>
<li>Run:<figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">git submodule init and git submodule update</div></pre></td></tr></table></figure>
</li>
</ol>
<p>Make sure the checked out submodule is at the correct commit, and commit that, since it’s likely that the hash will be different</p>
<h2 id="Working-with-remotes"><a href="#Working-with-remotes" class="headerlink" title="Working with remotes"></a>Working with remotes</h2><h4 id="Forcing-a-push-in-origin-remote-to-a-previous-version-as-in-our-local-repository"><a href="#Forcing-a-push-in-origin-remote-to-a-previous-version-as-in-our-local-repository" class="headerlink" title="Forcing a push in origin (remote) to a previous version as in our local repository"></a>Forcing a push in origin (remote) to a previous version as in our local repository</h4><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div></pre></td><td class="code"><pre><div class="line">// Suppose you want to return to a previous version</div><div class="line">// in your local repository</div><div class="line">git reset --hard YOUR_COMMIT_ID</div><div class="line"></div><div class="line">// Then, probably you will need to force the remote to stay </div><div class="line">// in the same as your local repository</div><div class="line">git push origin master --force</div><div class="line"></div><div class="line">// Or</div><div class="line">git push origin master -f</div></pre></td></tr></table></figure>
<h4 id="Sometimes-if-the-remote-server-doesn’t-have-well-configured-SSL-certificates-you-could-get-an-error-If-you-want-to-disable-SSL-verification-which-I-don’t-recommend-use-next-command"><a href="#Sometimes-if-the-remote-server-doesn’t-have-well-configured-SSL-certificates-you-could-get-an-error-If-you-want-to-disable-SSL-verification-which-I-don’t-recommend-use-next-command" class="headerlink" title="Sometimes if the remote server doesn’t have well-configured SSL certificates, you could get an error. If you want to disable SSL verification which I don’t recommend, use next command:"></a>Sometimes if the remote server doesn’t have well-configured SSL certificates, you could get an error. If you want to disable SSL verification which I don’t recommend, use next command:</h4><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div></pre></td><td class="code"><pre><div class="line">// Disable the SSL CERT verify globally</div><div class="line">git config --global http.sslVerify false</div><div class="line"></div><div class="line">// Disable the SSL CERT verify only in current repository</div><div class="line">git config http.sslVerify false</div></pre></td></tr></table></figure>
<h4 id="Changing-the-URL-of-a-remote"><a href="#Changing-the-URL-of-a-remote" class="headerlink" title="Changing the URL of a remote:"></a>Changing the URL of a remote:</h4><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div></pre></td><td class="code"><pre><div class="line">git remote set-url &lt;REPOSITORY_NAME&gt; &lt;NEW_URL&gt;</div><div class="line"></div><div class="line">// Example</div><div class="line">git remote set-url origin git://new.url.here</div></pre></td></tr></table></figure>
<h4 id="Deleting-remote-branches"><a href="#Deleting-remote-branches" class="headerlink" title="Deleting remote branches"></a>Deleting remote branches</h4><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div></pre></td><td class="code"><pre><div class="line">// List all the branches (local and remote)</div><div class="line">git branch -a</div><div class="line"></div><div class="line">// Delete a branch</div><div class="line">git push origin --delete MY_BRANCH</div></pre></td></tr></table></figure>
<blockquote>
<p><a href="http://www.alex-arriaga.com/some-useful-git-commands/" target="_blank" rel="external">Source</a></p>
</blockquote>

    </div>
    <p class="post-meta">
        <span class="post-cat">分类：
            <a class="cat-link" href="/coder957/categories/GIt/">GIt</a>|<a class="cat-link" href="/coder957/categories/GIt/Web技术/">Web技术</a>
        </span>
        <span class="post-tags">
            标签：
            
        </span>
    </p>
</article>
<!-- 分享按钮 -->

  <div class="article-share clearfix text-center">
    <div class="share-area">
      <span class="share-txt">分享到：</span>
      <a href="javascript: window.open('http://service.weibo.com/share/share.php?url=' + encodeURIComponent(location.href) + '&title=' + document.title + '&language=zh_cn');" class="share-icon weibo"></a>
      <a href="javascript: alert('请复制链接到微信并发送');" class="share-icon wechat"></a>
      <a href="javascript: window.open('http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=' + encodeURIComponent(location.href) + '&title=' + document.title);" class="share-icon qqzone"></a>
      <a href="javascript: window.open('http://connect.qq.com/widget/shareqq/index.html?url=' + encodeURIComponent(location.href) + '&desc=Jelon个人博客&title=' + document.title + '&callback=' + encodeURIComponent(location.href));" class="share-icon qq"></a>
      <a href="javascript: window.open('http://shuo.douban.com/!service/share?href=' + encodeURIComponent(location.href) + '&name=' + document.title + '&text=' + document.title);" class="share-icon douban"></a>
    </div>
  </div>


    <!-- 上一篇/下一篇 -->

<div class="article-nav clearfix">
    
    <span class="prev fl">
        上一篇<br >
        <a href="javascript: void(0);">没有上一篇了</a>
    </span>
    

    
    <span class="next fr">
        下一篇<br >
        <a href="/coder957/2017/10/17/基于Spring环境的AOP-Aspectj-基于XML/">
            
                基于Spring环境的AOP-Aspectj-基于XML
            
        </a>
    </span>
    
</div>

        <!-- 文章评论 -->
        
  <script src="/coder957/js/comment.js"></script>
  <div id="comments" class="comment">
    <!--
    <div class="sign-bar">
      GitHub 已登录!
      <span class="sign-link">登出</span>
    </div>
    <section class="box">
      <div class="com-avatar"><img src="/img/jelon.jpg" alt="avatar"></div>
      <div class="com-text">
        <div class="main">
          <textarea class="text-area-edited show" placeholder="欢迎评论！"></textarea>
          <div class="text-area-preview"></div>
        </div>
        <div class="switch">
          <div class="switch-item on">编辑</div>
          <div class="switch-item">预览</div>
        </div>
        <div class="button">提交</div>
      </div>
    </section>
    <section class="tips">注：评论支持 markdown 语法！</section>
    <section class="list-wrap">
      <ul class="list">
        <li>
          <div class="user-avatar">
            <a href="/">
              <img src="/img/jelon.jpg" alt="user-avatar">
            </a>
          </div>
          <div class="user-comment">
            <div class="user-comment-header">
              <span class="post-name">张德龙</span>
              <span class="post-time">2017年12月12日</span>
              <span class="like liked">已赞</span>
              <span class="like-num">2</span>
            </div>
            <div class="user-comment-body">333333</div>
          </div>
        </li>
        <li>
          <div class="user-avatar">
            <a href="/">
              <img src="/img/jelon.jpg" alt="user-avatar">
            </a>
          </div>
          <div class="user-comment">
            <div class="user-comment-header">
              <span class="post-name">刘德华</span>
              <span class="post-time">2017年12月12日</span>
              <span class="like">点赞</span>
              <span class="like-num">2</span>
            </div>
            <div class="user-comment-body">vvvvv</div>
          </div>
        </li>
      </ul>
      <div class="page-nav">
        <a href="javascript: void(0);" class="item">1</a>
        <a href="javascript: void(0);" class="item">2</a>
        <a href="javascript: void(0);" class="item current">3</a>
      </div>
    </section>
    -->
  </div>
  <script>
  JELON.Comment({
    container: 'comments',
    label: 'SOME-USEFUL-GIT-COMMANDS' || '2017/10/20/SOME-USEFUL-GIT-COMMANDS/',
    owner: 'FutaoSmile',
    repo: 'blog_comments',
    clientId: '149ec394071cfd7f0f47',
    clientSecret: 'd1c988f53efa3f0f8651799f8212cc8e2cab24b9'
  });
  </script>


            </div>

        </section>
        <!-- 侧栏部分 -->
<aside class="sidebar">
    <section class="widget">
        <h3 class="widget-hd"><strong>文章分类</strong></h3>
        <!-- 文章分类 -->
<ul class="widget-bd">
    
    <li>
        <a href="/coder957/categories/后端/">后端</a>
        <span class="badge">(5)</span>
    </li>
    
    <li>
        <a href="/coder957/categories/Java/">Java</a>
        <span class="badge">(8)</span>
    </li>
    
    <li>
        <a href="/coder957/categories/Web技术/">Web技术</a>
        <span class="badge">(3)</span>
    </li>
    
    <li>
        <a href="/coder957/categories/后端/Java/">Java</a>
        <span class="badge">(5)</span>
    </li>
    
    <li>
        <a href="/coder957/categories/GIt/">GIt</a>
        <span class="badge">(1)</span>
    </li>
    
    <li>
        <a href="/coder957/categories/Java/Spring/">Spring</a>
        <span class="badge">(3)</span>
    </li>
    
    <li>
        <a href="/coder957/categories/Java/学习/">学习</a>
        <span class="badge">(5)</span>
    </li>
    
    <li>
        <a href="/coder957/categories/Web技术/Java/">Java</a>
        <span class="badge">(1)</span>
    </li>
    
    <li>
        <a href="/coder957/categories/Web技术/Kotlin/">Kotlin</a>
        <span class="badge">(1)</span>
    </li>
    
    <li>
        <a href="/coder957/categories/GIt/Web技术/">Web技术</a>
        <span class="badge">(1)</span>
    </li>
    
    <li>
        <a href="/coder957/categories/学习/">学习</a>
        <span class="badge">(1)</span>
    </li>
    
</ul>
    </section>

    
    <section class="widget">
        <h3 class="widget-hd"><strong>热门标签</strong></h3>
        <!-- 文章标签 -->
<div class="widget-bd tag-wrap">
  
    <a class="tag-item" href="/coder957/tags/Java/" title="Java">Java (12)</a>
  
    <a class="tag-item" href="/coder957/tags/Spring/" title="Spring">Spring (9)</a>
  
    <a class="tag-item" href="/coder957/tags/kotlin/" title="kotlin">kotlin (7)</a>
  
    <a class="tag-item" href="/coder957/tags/Maven/" title="Maven">Maven (2)</a>
  
    <a class="tag-item" href="/coder957/tags/Hibernate/" title="Hibernate">Hibernate (2)</a>
  
    <a class="tag-item" href="/coder957/tags/kotlin-小知识/" title="kotlin 小知识">kotlin 小知识 (1)</a>
  
    <a class="tag-item" href="/coder957/tags/Kotlin/" title="Kotlin">Kotlin (1)</a>
  
    <a class="tag-item" href="/coder957/tags/Json/" title="Json">Json (1)</a>
  
    <a class="tag-item" href="/coder957/tags/热点文章/" title="热点文章">热点文章 (1)</a>
  
    <a class="tag-item" href="/coder957/tags/博主推荐/" title="博主推荐">博主推荐 (1)</a>
  
    <a class="tag-item" href="/coder957/tags/转载/" title="转载">转载 (1)</a>
  
    <a class="tag-item" href="/coder957/tags/资料/" title="资料">资料 (1)</a>
  
    <a class="tag-item" href="/coder957/tags/Ajax/" title="Ajax">Ajax (1)</a>
  
</div>
    </section>
    

    

    
    <!-- 友情链接 -->
    <section class="widget">
        <h3 class="widget-hd"><strong>友情链接</strong></h3>
        <!-- 文章分类 -->
<ul class="widget-bd">
    
        <li>
            <a href="http://lsc95.github.io/" target="_blank" title="椿哥的狗窝">椿哥的狗窝</a>
        </li>
    
        <li>
            <a href="http://futaosmile.oschina.io/documents/" target="_blank" title="donot click me">Document</a>
        </li>
    
        <li>
            <a href="" target="_blank" title="虚位以待">loading...</a>
        </li>
    
</ul>
    </section>
    
</aside>
<!-- / 侧栏部分 -->
    </div>

    <!-- 博客底部 -->
    <footer class="footer">
    &copy;
    
                2016-
                2017
                    

                        <a href="/coder957/">Loves You</a>
</footer>
<div class="back-to-top" id="JELON__backToTop" title="返回顶部">返回顶部</div>
    <!--博客js脚本 -->
    <!-- 这里放网站js脚本 -->
<script src="/coder957/js/main.js"></script>
</body>
</html>